package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区住户信息对象 resident_info
 * 
 * @author alex
 * @date 2025-07-16
 */
public class ResidentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 住户ID */
    private Long id;

    /** 所属部门ID（包区） */
    @Excel(name = "所属部门ID", readConverterExp = "包=区")
    private Long deptId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String community;

    /** 楼宇号 */
    @Excel(name = "楼宇号")
    private String building;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unit;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomNumber;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 宽带运营商 1--电信 2--移动 3--联通  4--其他 */
    @Excel(name = "宽带运营商 1--电信 2--移动 3--联通  4--其他")
    private Long broadbandOperator;

    /** 状态：1-正常，0-删除 */
    @Excel(name = "状态：1-正常，0-删除")
    private Integer status;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setCommunity(String community) 
    {
        this.community = community;
    }

    public String getCommunity() 
    {
        return community;
    }

    public void setBuilding(String building) 
    {
        this.building = building;
    }

    public String getBuilding() 
    {
        return building;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setRoomNumber(String roomNumber) 
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber() 
    {
        return roomNumber;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setBroadbandOperator(Long broadbandOperator) 
    {
        this.broadbandOperator = broadbandOperator;
    }

    public Long getBroadbandOperator() 
    {
        return broadbandOperator;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("community", getCommunity())
            .append("building", getBuilding())
            .append("unit", getUnit())
            .append("roomNumber", getRoomNumber())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("broadbandOperator", getBroadbandOperator())
            .append("status", getStatus())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
